package work;

public class Dog extends Animal {

    public Dog() {
    }

    public Dog(int age, String color) {
        super(age, color);
    }
    @Override
    public void eat() {

    }



    public void   eat( String someyhing){

        System.out.println(getAge()+"岁的"+getColor()+"颜色狗狗抱住"+someyhing+"猛吃");
    }

    public void   lookHoom(){
        System.out.println("看家");
    }
}
